
public class Code013 {
    public static void main(String[] args) {
    	int x1 = 1,y1 = 2,z1 = 1;
    	while(z1 <= 10){
    		x1 *= y1;
    		z1++;
    	}System.out.println(x1);
    	
    	int x2 = 1,y2 = 2,z2 = 1;
    	do{
    		x2 *= y2;
    		z2++;
    	}while(z2 <= 10);
    	System.out.println(x2);
    	
    	int x3 = 1,y3 = 2,z3 = 10;
		for(int i = 1;i <= z3;i++){
			x3 *= y3;
		}System.out.println(x3);
	}
}
